package com.sdp.irrigation.timer;

import java.util.concurrent.TimeUnit;

import io.netty.util.HashedWheelTimer;
import io.netty.util.Timeout;
import io.netty.util.TimerTask;

public class NettyTimer {

	private static final HashedWheelTimer timer = new HashedWheelTimer();
	
	public static Timeout newTimeout(TimerTask task, long delay, TimeUnit unit)
	{
		return timer.newTimeout(task, delay, unit);
	}
}
